package servicios;


import java.util.LinkedHashSet;

import model.Autor;
import model.Externo;
import homes.EmpresaHome;
import homes.ExternoHome;

public class CrearExterno implements Operation<Externo> {
    public Externo execute() {
        ExternoHome externoH = new ExternoHome();
        EmpresaHome empresaH = new EmpresaHome();
        Externo externo = new Externo("orbil", "looCotirbil", 12, new LinkedHashSet<Autor>(), empresaH.get(4));
        externoH.save(externo);
        return null;
    }
}